encoding/asn1.tagAndLength.length (field)
23 uses
encoding/asn1 (current package)
asn1.go#L565: ret.length = int(b & 0x7f)
asn1.go#L573: ret.length = 0
asn1.go#L581: if ret.length >= 1<<23 {
asn1.go#L587: ret.length <<= 8
asn1.go#L588: ret.length |= int(b)
asn1.go#L589: if ret.length == 0 {
asn1.go#L596: if ret.length < 0x80 {
asn1.go#L639: if invalidLength(offset, t.length, len(bytes)) {
asn1.go#L643: offset += t.length
asn1.go#L697: if invalidLength(offset, t.length, len(bytes)) {
asn1.go#L703: innerBytes := bytes[offset : offset+t.length]
asn1.go#L733: offset += t.length
asn1.go#L756: if t.class == expectedClass && t.tag == *params.tag && (t.length == 0 || t.isCompound) {
asn1.go#L759: } else if t.length > 0 {
asn1.go#L849: if invalidLength(offset, t.length, len(bytes)) {
asn1.go#L853: innerBytes := bytes[offset : offset+t.length]
asn1.go#L854: offset += t.length
common.go#L52: class, tag, length int
marshal.go#L264: if t.length >= 128 {
marshal.go#L265: l := lengthLength(t.length)
marshal.go#L267: dst = appendLength(dst, t.length)
marshal.go#L269: dst = append(dst, byte(t.length))
marshal.go#L706: length: bodyLen + t.tag.Len(),
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |